<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	String path=request.getContextPath();
	String basePath=request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<base href="<%=basePath%>">
<title>Insert title here</title>
<link href="css/indexs.css" rel="stylesheet" />
</head>
<body>
	<!--头部-->
		<%@ include file="include/head.jsp" %>
		<!--体部-->
		<div id="ymain">
        <div class="h-10"></div>
        <div class="bread">您当前所在位置：<a href="#">汕头汽车客运网上售票</a> &gt; 汕头到${Station }汽车票</div>
        <div class="f-search">
            <!-- <div class="f-history">
                <span id="searchHistory" class="f-jt-up">搜索历史
                </span>
            </div> -->
            <ul>
                <li>出发城市
                    <input type="text" value="汕头" readonly="readonly" class="f-input"/></li>
                <li>到达城市
                    <select id="city" class="f-input" name="station">
	                    <c:forEach items="${Stations }" var="stations">
	                   		<c:choose>
	                   			<c:when test="${stations.stationname.contains(Station)}">
	                    			<option selected="selected">${stations.stationname }</option>
	                    		</c:when>
	                    		<c:otherwise>
	                    			<option>${stations.stationname }</option>
	                    		</c:otherwise>
	                   		</c:choose>
	                    </c:forEach>
	                </select>
	            </li>
                <li>出发时间
                	<input id="meeting" type="date" value="${time }" name="time"></li>
                <li><strong><i class="f-btn"><a id="searchBusTicket" href="Ticket/indexs">搜 索</a></i></strong></li>
            </ul>
        </div>
        <input type="hidden" id="maxDate" value="2017-01-11">
        <div class="w-710  mtop-10">
            <!--时间轴-->
         <div class="tab-d" id="ulCanlender01">
                <div class="w-31-l"><a id="canlenderleftbutton01" onclick="CanlenderLeftButtonClick01()" class="l-disable"></a></div>
                <ul class="date">
                    <li class=""><a onclick="layer.msg('正在查询班次，请稍后……');" href="http://www.ahlwsp.com/Bus/BusList.aspx?FromCity=%E5%90%88%E8%82%A5&amp;ToCity=%E8%9A%8C%E5%9F%A0%E5%B8%82&amp;ToCityCode=340300&amp;FromDate=2016-11-13">11-13<br>周日</a></li>
<li class="today"><a onclick="layer.msg('正在查询班次，请稍后……');" href="./spxt_files/spxt.htm">11-14<br>周一</a></li>
<li class=""><a onclick="layer.msg('正在查询班次，请稍后……');" href="http://www.ahlwsp.com/Bus/BusList.aspx?FromCity=%E5%90%88%E8%82%A5&amp;ToCity=%E8%9A%8C%E5%9F%A0%E5%B8%82&amp;ToCityCode=340300&amp;FromDate=2016-11-15">11-15<br>周二</a></li>
<li class=""><a onclick="layer.msg('正在查询班次，请稍后……');" href="http://www.ahlwsp.com/Bus/BusList.aspx?FromCity=%E5%90%88%E8%82%A5&amp;ToCity=%E8%9A%8C%E5%9F%A0%E5%B8%82&amp;ToCityCode=340300&amp;FromDate=2016-11-16">11-16<br>周三</a></li>
<li class=""><a onclick="layer.msg('正在查询班次，请稍后……');" href="http://www.ahlwsp.com/Bus/BusList.aspx?FromCity=%E5%90%88%E8%82%A5&amp;ToCity=%E8%9A%8C%E5%9F%A0%E5%B8%82&amp;ToCityCode=340300&amp;FromDate=2016-11-17">11-17<br>周四</a></li>
<li style="" class=""><a onclick="layer.msg('正在查询班次，请稍后……');" href="http://www.ahlwsp.com/Bus/BusList.aspx?FromCity=%E5%90%88%E8%82%A5&amp;ToCity=%E8%9A%8C%E5%9F%A0%E5%B8%82&amp;ToCityCode=340300&amp;FromDate=2016-11-18">11-18<br>周五</a></li>
<li style="" class=""><a onclick="layer.msg('正在查询班次，请稍后……');" href="http://www.ahlwsp.com/Bus/BusList.aspx?FromCity=%E5%90%88%E8%82%A5&amp;ToCity=%E8%9A%8C%E5%9F%A0%E5%B8%82&amp;ToCityCode=340300&amp;FromDate=2016-11-19">11-19<br>周六</a></li>
</ul>
                <div class="w-31-r"><a id="canlenderrightbutton01" onclick="CanlenderRightButtonClick01()" class=""></a></div>
            </div>
<!--时间轴-->
            <ul class="choose">
                <li><strong>汕头 → ${Station }</strong><i>${time } ${weeks }（共34  个车次）</i></li>
                <li><i>出发时间</i><span><a name="FromTime"  onclick="FilterBus(this);" href="javascript:void(0);">不限</a></span>
                    <label>
                        <input name="FromTime" onclick="FilterBus(this)" type="checkbox" value="1">上午（06:00-12:00）</label><label><input name="FromTime" onclick="    FilterBus(this)" type="checkbox" value="2">下午（12:00-18:00）</label><label><input name="FromTime" onclick="    FilterBus(this)" type="checkbox" value="3">晚上（18:00-06:00）</label></li>
                <li><i>出发车站</i><span><a name="FromStation"  onclick="FilterBus(this);" href="javascript:void(0);">不限</a></span>
                    <p class="station-dx">
                        
                                <label>
                                    <input name="FromStation" onclick="FilterBus(this);" type="checkbox" value="合肥汽车站">汕头汽车站</label>
                            
                                <label>
                                    <input name="FromStation" onclick="FilterBus(this);" type="checkbox" value="合肥市客运总站">汕头市客运总站</label>
                            
                                <label>
                                    <input name="FromStation" onclick="FilterBus(this);" type="checkbox" value="合肥客运中心站">汕头客运中心站</label>
                            
                    </p>
                </li>
               <!--  <li><i>班次类型</i><span><a name="circle" onclick="FilterBus(this);" href="javascript:void(0);">不限</a></span>
                    <label>
                        <input name="circle" type="checkbox" onclick="FilterBus(this);" value="1">循环班</label><label><input name="circle" type="checkbox" onclick="    FilterBus(this);" value="0">固定班</label></li> -->
            </ul>
            <ul class="bc-stab">
                <li onclick="ShowBusRun(this,0);" class="stab-on"><a href="javascript:void(0);">直达（1）</a></li>
            </ul>
<ul class="bc-list" id="bc-list0"><li style="margin-top: 5px;">
                    <label class="w-110">发车时间</label><label class="w-170">发车站/目的站</label><label class="w-100">班次类型</label><label class="w-100">余座</label><label class="w-100">票价</label><label class="w-110"></label></li>
  <li>
                            <label class="w-110 fc">06:30</label><label class="w-170"><i class="start">汕头汽车站</i><i class="end">广东站</i></label><label class="w-100 xh">固定班<!-- <img src="./spxt_files/ico-q.gif" onmouseover="ShowTips(0,this)" onmouseout="layer.closeAll('tips');"> --><a href="#" onclick="ShowDetail(this);" class="open" title="点击展开班次详情"></a><!--<a href="#" class="close" title="点击隐藏班次详情"></a>--></label><label class="w-100 yz">37</label><label class="w-100 price">￥<strong>54</strong></label><label class="w-100"><a href="Orders.jsp" onclick="Order(this);"   class="btn-yd">预订</a></label>
                            <div class="dd-bcview" id="view0" style="display: none;">
                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                    <tbody><tr>
                                        <td>班次编码：hg051</td>
                                        
                                        <td>车　　型：大型高一座席(现代)</td>
                                        <td>检 票 口：16</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>全里程数：164公里</td>
                                        <td colspan="2">班次类型：固定班</td>
                                        
                                    </tr>
                                    <tr>
                                        <td colspan="3">途径城市：汕头→广东</td>
                                    </tr>
                                    <tr>
                                        <td colspan="3">说　　明：若班次为循环班，显示发车时间为当天最晚发车时间。</td>
                                    </tr>
                                </tbody></table>
                            </div>
                        </li>

</ul>
            
            

            <p class="h-10"></p>
            
        </div>
        
        <div class="w-280">
            <div class="h-10"></div>
            
            
            <!--车站地图开始-->
            <script type="text/javascript" src="./spxt_files/maps"></script>
            <!--车站地图结束-->
            <div class="h-10"></div>
            <div class="r-bt280">重要提示</div>
            <div class="r-tips">
                <table border="0" cellpadding="0" width="100%" cellspacing="0">

                    <tbody><tr>
                        <td valign="top" width="10"><i></i></td>
                        <td>班次类型中固定班发车时间为显示时间，循环班显示发车时间为当天最晚发车时间</td>
                    </tr>
                    <tr>
                        <td valign="top"><i></i></td>
                        <td>班次列表中点击向下小三角图片可以展开班次详情，再次点击可以收起</td>
                    </tr>
                    <tr>
                        <td valign="top"><i></i></td>
                        <td>单个订单最多可购买3张车票</td>
                    </tr>
                    <tr>
                        <td valign="top"><i></i></td>
                        <td>本站目前仅支持购买全价票</td>
                    </tr>
                </tbody></table>
            </div>
            <div class="h-10"></div>
            <div class="h_bt h_275"><a href="http://www.ahlwsp.com/News/List.aspx">更多<span style="font-size: 16px; font-family: Verdana;">»</span></a>旅客须知</div>
            <ul class="r-news">
                    
                        <li><a href="#" target="_blank" title="退票方式">退票方式</a></li>
                    
                        <li><a href="#" target="_blank" title="网上购票取票须知">网上购票取票须知</a></li>
                    
                        <li><a href="#" target="_blank" title="退票规定">退票规定</a></li>
                    
                        <li><a href="#" target="_blank" title="购票注意事项">购票注意事项</a></li>
                    
                        <li><a href="#" target="_blank" title="乘车安全须知">乘车安全须知</a></li>
                    
                        <li><a href="#" target="_blank" title="行包托运须知">行包托运须知</a></li>
                    
                        <li><a href="#" target="_blank" title="旅客乘车须知">旅客乘车须知</a></li>
                        
                         <li><a href="#" target="_blank" title="乘车安全须知">乘车安全须知</a></li>
                    
            </ul>
            <div class="clear"></div>
        </div>
        <%@ include file="include/foot.jsp" %>
        <div class="clear"></div>
    </div>
</body>
</html>